<!DOCTYPE html>
<!--suppress ALL-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel='stylesheet' th:href="@{/css/errPage.css}" media="all" />
    <title th:text="${pdfname}"></title>
</head>
<body class="permission_denied">
<div id="particles-js"></div>
<div class="denied__wrapper">
    <h1 style="font-size: larger" th:text="'请稍等'+${waitTime}/1000+'秒'"></h1>
    <h3>访问速度与文件大小和网速有关</h3>
</div>
</body>
<input type="text" id="pdfurl" hidden="hidden" th:value="${pdfurl}"></input>
<input type="text" id="wtime" hidden="hidden" th:value="${waitTime}"></input>
<script type="text/javascript">
    var pdfurl=document.getElementById("pdfurl").value;
    var wtime=document.getElementById("wtime").value;
    var int=self.setInterval("clock()",wtime);
    function clock()
    {
        window.location.replace(pdfurl);
    }
</script>
</html>